<?php

namespace Biz\Models\Site;

use Biz\Models\Model;

/**
 * SiteOrderRegistrationFee.
 *
 * @license [http://www.85do.com] [杭州永奥网络科技有限公司]
 * @copyright Copyright (c) 2018-2026 Hangzhou Yongao Technology Co., Ltd. All rights reserved.
 */
class SiteOrderRegistrationFee extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'site_order_registration_fee';

    /**
     * @var array
     */
    protected $fillable = [
        'order_id',
        'fee_name',
        'registration_no',
        'price',
        'accompany_price',
        'accompany_number',
        'remark',
    ];

    /**
     * 查看order.
     */
    public function order()
    {
        return $this->belongsTo(SiteOrder::class, 'order_id', 'id');
    }
}
